x86 time: Read platform time before locally-extrapolated time during
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 1 May 2008 08:45:44 +0000 (09:45 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 1 May 2008 08:45:44 +0000 (09:45 +0100)
commitfff03db7d506d63e9a37bcfd1cf4e106179ac237
treeb98a94fbbcf8e14b9a0113cfc65413f478bf4e17
parent6e1d95fe7a44ac03a8c8859c73de006f73d72f97
x86 time: Read platform time before locally-extrapolated time during
calibration and frequency changes. This places the variable delay
(acquiring the platform_timer_lock) safely as the very first thing we
do, avoiding a variable delay /between/ computing the two timestamps.

Problem diagnosed by Dave Winchell <dwinchell@virtualiron.com>

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/time.c